package com.richinfo.common.vo;


import com.richinfo.exception.ProgramErrorException;
import com.richinfo.util.ReflectUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import java.lang.reflect.Method;
import java.util.List;

/**
 * 入参父类实体
 */
@Data
@ApiModel(value="入参父类实体")
public class CommonVo {
    @ApiModelProperty(value = "设备名")
    private String devicename;
    @ApiModelProperty(value = "请求id")
    private String reqId;
    @ApiModelProperty(value = "客户端版本")
    private String appVersion;
    @ApiModelProperty(value = "手机唯一识别码")
    private String imei;
    @ApiModelProperty(value = "请求动作id")
    private String action;
    @ApiModelProperty(value = "手机系统版本")
    private String osVersion;
    @ApiModelProperty(value = "手机品牌")
    private String devicebrand;
    @ApiModelProperty(value = "操作系统类型")
    private String type;
    @ApiModelProperty(value = "登录流水号")
    private String loginNo;
    @ApiModelProperty(value = "接口请求时间  客户端->服务端")
    private String requestTime;
    @ApiModelProperty(value = "客户端公网ip")
    private String ip;
    @ApiModelProperty(value = "登录方式")
    private String loginType;
    @ApiModelProperty(value = "登录状态")
    private String state;

    @Min(
            value = -1L,
            message = "page不能小于{value}"
    )
    @ApiModelProperty(value = "页码")
    private Integer page = 1;
    @Min(
            value = 1L,
            message = "size必须大于0"
    )
    @ApiModelProperty(value = "size")
    private Integer size = 10;
}
